package com.ican.common;

import java.io.InputStream;

public class FileDownload {

	/**文件名*/
	private String filePath;
	/**文件路径*/
	private String fileName;
	/**文件资源的输入流*/
	private InputStream inputStream;
	
	/**取得文件名，已进行ISO8859-1转码*/
	public String getFileName() {
    	try {
    		fileName = new String(fileName.getBytes(),"ISO8859-1");
        } catch (Exception e){}
		return fileName;
	}
    public void setFileName(String fileName) {
		this.fileName = fileName;
	}
    public String getFilePath() {
		return filePath;
	}
	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}
	public InputStream getInputStream(){
		return inputStream;
	}
	public void setInputStream(InputStream inputStream) {
		this.inputStream = inputStream;
	}
	public String getFullFilePath(){
		return filePath + fileName;
	}
}
